<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">
  <title>浏阳旅游网-旅游景点</title>
  <link rel="stylesheet" type="text/css" th:href="@{/front-end/index.css}">
  <!-- 引入公用部分 -->
  <script th:replace="common/head::static"></script>
</head>
<body>
  <!-- nav部分 -->
  <div class="nav">
    <div class="layui-container">
      <div class="nav-logo">
        <a th:href="@{/travel/index}">
          <img th:src="@{/front-end/images/logo.png}" alt="浏阳旅游网">
        </a>
      </div>
      <div class="nav-list">
        <button>
          <span></span><span></span><span></span>
        </button>
        <ul class="layui-nav" lay-filter="">
          <li class="layui-nav-item"><a th:href="@{/travel/index}">首页</a></li>
          <li class="layui-nav-item layui-this"><a th:href="@{/travel/scenic}">旅游景点</a></li>
          <li class="layui-nav-item"><a th:href="@{/travel/hotel/}">酒店预约</a></li>
          <li class="layui-nav-item"><a th:href="@{/travel/about}">关于</a></li>
        </ul>
      </div>
    </div>
  </div>
  <!-- banner部分 -->
  <div class="banner product"  th:style="'background: url(' + @{/front-end/images/nav_img3.jpg} + ') no-repeat center top; background-size: cover;'">
    <div class="title">
      <p>景点展示</p>
    </div>
  </div>
  <!-- main部分 -->
  <div class="main product">
    <div class="layui-container">
      <div class="content layui-row" th:each="scenic, status : ${sciences}">
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md7 layui-col-lg6 content-img"><img th:src="${scenic.getScenicPic()}"></div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md5 layui-col-lg6 right">
          <p class="label" th:text="${scenic.getScenicName()}">景点名称</p>
          <p class="detail" th:text="${#strings.abbreviate(scenic.getScenicDesc(), 50)}">景点介绍</p>
          <div><a th:href="@{/travel/scenic/detail(id=${scenic.getScenicId()})}">查看详情 ></a></div>
        </div>
      </div>
    </div>
  </div>
  <!-- footer部分 -->
  <div class="footer">
    <div class="layui-container">
      <div class="layui-row footer-contact">
        <div class="layui-col-sm10 layui-col-lg11">
          <div class="layui-row">
            <div class="layui-col-sm6 layui-col-md8 layui-col-lg9">
              <p class="contact-top"><i class="layui-icon layui-icon-cellphone"></i>&nbsp;400-8888888&nbsp;&nbsp;&nbsp;(9:00-18:00)</p>
              <p class="contact-bottom"><i class="layui-icon layui-icon-home"></i>&nbsp;88888888@163.com</p>
            </div>
            <div class="layui-col-sm6 layui-col-md4 layui-col-lg3">
              <p class="contact-bottom"><span class="right">Copyright&nbsp;©&nbsp;2016-2018&nbsp;&nbsp;ICP&nbsp;备888888号</span></p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
<!--[if lt IE 9]>
  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
  <script type="text/javascript" th:src="@{/front-end/firm.js}"></script>
</body>
</html>